﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Giris.aspx.cs" Inherits="Fabrikatorum.Fabrikator.Sayfa.Giris" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
		<meta charset="utf-8">
		<title>Fabrikatör (Aytaç Sunar tarafından yazıldı ve geliştirildi)</title>
		<meta name="description" content="description">
		<meta name="author" content="Evgeniya">
		<meta name="keyword" content="keywords">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link href="../plugins/bootstrap/bootstrap.css" rel="stylesheet">
		<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
		<link href='http://fonts.googleapis.com/css?family=Righteous' rel='stylesheet' type='text/css'>
		<link href="../css/style.css" rel="stylesheet">
		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
				<script src="http://getbootstrap.com/docs-assets/js/html5shiv.js"></script>
				<script src="http://getbootstrap.com/docs-assets/js/respond.min.js"></script>
		<![endif]-->
</head>
<body>
    <form id="form1" runat="server"><br /><br /><br />
                                       <div class="row">
                                           <div class="col-md-3"></div>
                                           <div class="col-md-6">
          <div class="col-md-12">
            <div class="panel panel-primary">
              <div class="panel-heading">
                <h3 class="panel-title"><i class="fa fa-key"></i> ÜYE GİRİŞİ</h3>
              </div>
              <div class="panel-body">
                  <div class="col-md-12">

                                                <div class="form-group input-group">
                <span class="input-group-addon"><i class="fa fa-envelope"></i></span>
                      <asp:TextBox ID="txtEpostaGir" runat="server" CssClass="form-control" placeholder="E-posta"></asp:TextBox>
                                                    </div>
                                                  <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtEpostaGir" ErrorMessage="E-posta adresi boş olamaz!" ValidationGroup="girisli">*</asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEpostaGir" ErrorMessage="Geçerli bir e-posta adresi yazınız!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="girisli">*</asp:RegularExpressionValidator>
                                                <div class="form-group input-group">
                <span class="input-group-addon"><i class="fa fa-key"></i></span>
                          <asp:TextBox ID="txtSifreGir" runat="server" CssClass="form-control" placeholder="Şifre" TextMode="Password"></asp:TextBox>
                                                    </div>
                                                  <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtSifreGir" ErrorMessage="Şifre boş olamaz!" ValidationGroup="girisli">*</asp:RequiredFieldValidator>

                          <asp:Label ID="lblGirisUyari" runat="server" Text=""></asp:Label></div>
                <div class="col-md-12 text-center">

<asp:Button ID="Button1" runat="server" Text="Giriş" CssClass="btn btn-success btn-block" OnClick="Button1_Click" ValidationGroup="girisli"/><br />
                    <asp:CheckBox ID="cbBeniHatirla" CssClass="form-control" runat="server" Checked="true" TextAlign="Right" Text=" Oturumumu Açık Tut!" /><br />
                                        <asp:LinkButton ID="LinkButton1" runat="server">Şifremi Unuttum!</asp:LinkButton><br />
<asp:ImageButton ID="ImageButton2" runat="server" CssClass="text-center" ImageUrl="~/Fabrikator/img/facebookLogin.png" OnClick="ImageButton2_Click" /></div>
<asp:ValidationSummary ID="ValidationSummary2" runat="server" ForeColor="Red" ValidationGroup="girisli" />
<%--                <asp:ImageButton ID="ImageButton1" runat="server" OnClick="Login" ImageUrl="~/Modaliyorum/img/fb_giris.png" ImageAlign="Middle" /><br /><br />--%>



</div>
                </div></div></div>
                                           <div class="col-md-3"></div>
                                           </div><div class="row">
                                               <div class="col-md-3"></div>
                                        <div class="col-md-6">
          <div class="col-md-12">
            <div class="panel panel-primary">
              <div class="panel-heading">
                <h3 class="panel-title"><i class="fa fa-user"></i> YENİ KAYIT</h3>
              </div>
              <div class="panel-body">

                  <asp:Panel ID="pnlGirisYapilmadi" runat="server">

                      <div class="form-group input-group">
                <span class="input-group-addon"><i class="fa fa-envelope"></i></span>
                      <asp:TextBox ID="txtEposta" runat="server" CssClass="form-control" placeholder="E-posta Adresiniz"></asp:TextBox>
                          </div>
                                      <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEposta" ErrorMessage="Eposta alanı boş olamaz!" ForeColor="Red" ValidationGroup="a"> *</asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtEposta" ErrorMessage="Geçerli bir e-posta adresi yazınız!" ForeColor="Red"  ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="a"> *</asp:RegularExpressionValidator>
                                                <div class="form-group input-group">
                <span class="input-group-addon"><i class="fa fa-key"></i></span>
                          <asp:TextBox ID="txtSifre" runat="server" TextMode="Password" CssClass="form-control" placeholder="Şifre"></asp:TextBox>
                                                    </div>
                                      <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSifre" ErrorMessage="Şifre alanı boş olamaz!" ForeColor="Red" ValidationGroup="a"> *</asp:RequiredFieldValidator>
                                                <div class="form-group input-group">
                <span class="input-group-addon"><i class="fa fa-key"></i></span>
                          <asp:TextBox ID="txtSifre2" runat="server" TextMode="Password" CssClass="form-control" placeholder="Şifre (tekrar)"></asp:TextBox>
                                                    </div>
                                      <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtSifre2" ErrorMessage="Şifre alanı boş olamaz!" ForeColor="Red" ValidationGroup="a"> *</asp:RequiredFieldValidator>
            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtSifre" ControlToValidate="txtSifre2" ErrorMessage="Şifreler uyuşmuyor!" ForeColor="Red" ValidationGroup="a"> *</asp:CompareValidator>
                          <asp:Label ID="lblUyelikUyari" runat="server" Text=""></asp:Label><br />

                          <asp:Button ID="btnUyeOl" CssClass="btn btn-success btn-block" OnClick="btnUyeOl_Click" runat="server" Text="Üye Ol!" ValidationGroup="a" />
                                  <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" ValidationGroup="a" />
                          </asp:Panel>
                      <asp:Panel ID="pnlGirisYapildi" runat="server">
                          <asp:Label ID="lblOnayUyarisi" runat="server" Text=""></asp:Label></asp:Panel>
                  

                  </div></div></div></div>
                                               <div class="col-md-3"></div>




                                       </div>
    </form>
</body>
</html>
